﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;
using System.Data.SqlClient;

namespace ResUma
{
    public partial class TipSpecialitatiFrm : FrmRezumat
    {
        public TipSpecialitatiFrm(ModuleClass mInfo)
            : base(mInfo)
        {
            InitializeComponent();
            workConnString = "ESRPConnectionString";

        }

        private void TipSpecialitatiFrm_Load(object sender, EventArgs e)
        {
            SqlConnection con = DeschideConexiune(workConnString);
            this.tipSpecialitatiTableAdapter.Connection = con;
            this.tipSpecialitatiTableAdapter.Fill(this.eSRPDataSet.TipSpecialitati);
            InchideConexiune(con);
            this.listBndSourceMain.Add(tipSpecialitatiBindingSource);
            listTableAdaptor.Add(this.tipSpecialitatiTableAdapter.Adapter);

        }
    }
}
